Hi. I have created a program and my final task is to create a window that prints the program data. Here is my problem. The Window does only execute all the functions have runned. I want to window to appear first, and then run functions wich sends strings to the window but the window will only appear after it have runned all the code.
For example this code below, window will only popup after the sleep function have slept, and then it creates the window. I want the window to be created first.
<pre class='prettyprint lang-py'> ------------------------------------------------ import sys, time from PyQt4 import QtGui